export const getElementInfoById = (id: string) => {
  return document.getElementById(id)?.getBoundingClientRect() || {};
};
